import React from "react";
import ReactDom from "react-dom";
import { cube } from "./math.js";

const App = () => {
  return (
    <div>
      <h1>React大法好</h1>
      <h1>3的立方是:{cube(3)}</h1>
    </div>
  );
};

export default App;

ReactDom.render(<App />, document.getElementById("app"));
